#ifndef WALL_H
#define WALL_H

#include <object.h>
#include <QtGui>

class Wall : public Object
{
    int length , width;
    QRectF boundingRect() const;
    void advance(int step);
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *);

public:
    int get_angle ();
    void paint ();
    int get_length ();
    Wall(int Tx , int Ty , int Tangle , int Tlength , int Twidth);

};

#endif // WALL_H
